#!/bin/bash

. "/lingmo-installer/basic_utils.sh"
. "/usr/share/lingmo-installer/hooks/basic_utils.sh"

lingmo-installer-settings set /etc/lingmo-installer.conf system_check_mode false

CONF_FILE=/etc/lightdm/lightdm.conf
cat > "${CONF_FILE}" <<EOF
[Seat:*]
greeter-setup-script=/usr/bin/lingmo-installer-first-boot
EOF
